//
//  PMProxy.h
//  proxy
//
//  Created by lishunnian on 11-3-1.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

typedef enum
{
    kPMSuccess = 1,
    kPMNotCheck,
    kPMConnecting,
    kPMTimeOut,
    kPMConnectError 
} PMStatus;

typedef enum 
{
    kPMHttp = 1,
    kPMSocket4,
    kPMSocket5
} PMProxyType;

@interface PMProxy : NSObject {
    PMStatus status_;
    NSString *hostAddress_;
    NSNumber *portNum_;
    PMProxyType proxyType_;
    float *checkTime_;
}

@property (retain) NSString *hostAddress;
@property (retain) NSNumber *portNum;
@property (assign) PMStatus status;
@property (assign) PMProxyType proxyType;
@property (assign) float *checkTime;
@end
